package cn.stylefeng.guns.modular.kh.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 可好提总单明细
 * </p>
 *
 * @author zzh
 * @since 2025-10-21
 */
@TableName("kh_order_out_item")
public class KhOrderOutItem implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 出库订单
     */
    @TableField("order_out_number")
    private String orderOutNumber;

    /**
     * 商品id
     */
    @TableField("goods_id")
    private Long goodsId;

    /**
     * 商品名称
     */
    @TableField("goods_name")
    private String goodsName;

    /**
     * 商品编号
     */
    @TableField("goods_number")
    private String goodsNumber;

    /**
     * 商品码
     */
    @TableField("goods_pcode69")
    private String goodsPcode69;

    /**
     * 规格
     */
    @TableField("goods_specs")
    private String goodsSpecs;

    /**
     * 单位
     */
    @TableField("unit")
    private String unit;

    /**
     * 换算率
     */
    @TableField("rate")
    private BigDecimal rate;

    /**
     * 数量
     */
    @TableField("ps_num")
    private BigDecimal psNum;

    /**
     * 是否拆零
     */
    @TableField("dismantling_parts")
    private String dismantlingParts;

    /**
     * 基本单位
     */
    @TableField("jiben_unit")
    private String jibenUnit;

    /**
     * 基本数量
     */
    @TableField("jiben_num")
    private BigDecimal jibenNum;

    /**
     * 商品码2
     */
    @TableField("goods_xcode69")
    private String goodsXcode69;

    /**
     * 商品码3
     */
    @TableField("goods_hcode69")
    private String goodsHcode69;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrderOutNumber() {
        return orderOutNumber;
    }

    public void setOrderOutNumber(String orderOutNumber) {
        this.orderOutNumber = orderOutNumber;
    }

    public Long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsNumber() {
        return goodsNumber;
    }

    public void setGoodsNumber(String goodsNumber) {
        this.goodsNumber = goodsNumber;
    }

    public String getGoodsPcode69() {
        return goodsPcode69;
    }

    public void setGoodsPcode69(String goodsPcode69) {
        this.goodsPcode69 = goodsPcode69;
    }

    public String getGoodsSpecs() {
        return goodsSpecs;
    }

    public void setGoodsSpecs(String goodsSpecs) {
        this.goodsSpecs = goodsSpecs;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public BigDecimal getRate() {
        return rate;
    }

    public void setRate(BigDecimal rate) {
        this.rate = rate;
    }

    public BigDecimal getPsNum() {
        return psNum;
    }

    public void setPsNum(BigDecimal psNum) {
        this.psNum = psNum;
    }

    public String getDismantlingParts() {
        return dismantlingParts;
    }

    public void setDismantlingParts(String dismantlingParts) {
        this.dismantlingParts = dismantlingParts;
    }

    public String getJibenUnit() {
        return jibenUnit;
    }

    public void setJibenUnit(String jibenUnit) {
        this.jibenUnit = jibenUnit;
    }

    public BigDecimal getJibenNum() {
        return jibenNum;
    }

    public void setJibenNum(BigDecimal jibenNum) {
        this.jibenNum = jibenNum;
    }

    public String getGoodsXcode69() {
        return goodsXcode69;
    }

    public void setGoodsXcode69(String goodsXcode69) {
        this.goodsXcode69 = goodsXcode69;
    }

    public String getGoodsHcode69() {
        return goodsHcode69;
    }

    public void setGoodsHcode69(String goodsHcode69) {
        this.goodsHcode69 = goodsHcode69;
    }

    @Override
    public String toString() {
        return "KhOrderOutItem{" +
        "id=" + id +
        ", orderOutNumber=" + orderOutNumber +
        ", goodsId=" + goodsId +
        ", goodsName=" + goodsName +
        ", goodsNumber=" + goodsNumber +
        ", goodsPcode69=" + goodsPcode69 +
        ", goodsSpecs=" + goodsSpecs +
        ", unit=" + unit +
        ", rate=" + rate +
        ", psNum=" + psNum +
        ", dismantlingParts=" + dismantlingParts +
        ", jibenUnit=" + jibenUnit +
        ", jibenNum=" + jibenNum +
        ", goodsXcode69=" + goodsXcode69 +
        ", goodsHcode69=" + goodsHcode69 +
        "}";
    }
}
